package com.modouyu.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * ${DESCRIPTION}
 *
 * @author yangcb
 * @email mudouyu@aliyun.com
 * @create 2018-04-11 15:49
 **/
@RestController
public class IndexController {

    @RequestMapping(value = "hello", method = RequestMethod.GET)
    public String home() {
        return "Hello World!";
    }


}
